<?php
/**
 * 会员语言翻译包
 * @return
 * @author yuncran@126.com
 */

namespace app\model;

use app\BaseModel;
use app\CacheKey;

class GoldLangPackageModel extends BaseModel
{

    protected $name = 'gold_lang_package';

    protected $pk = "id";


    public static function getGoldLangPackageList()
    {
        $rechargeList = self::getModel()->where('status',1)->withoutField(['update_time'])->cache(true, CacheKey::gold_list)->select();
        return empty($rechargeList) ? [] : $rechargeList;
    }

}